//R3 Header File

#define SYS_STACK_SIZE 200

typedef struct params{
	int op_code; //operation code, IDLE, EXIT, READ, WRITE, etc
	int device_id; //TERMINAL, COM_PORT
	byte *buf_addr; //buffer address
	int *count_addr; //size of the buffer
 } params;
 
 typedef struct context {
unsigned int BP, DI, SI, DS, ES;
unsigned int DX, CX, BX, AX;
unsigned int IP, CS, FLAGS;
} context;

 
void interrupt sys_call(void);

void dispatch();